home *** CD-ROM | disk | FTP | other *** search
/ MacFormat España 25 / MacFormat n. 25 (Spain) / MacFormat 25.bin / mac / Demos / Print Artist Demo / PA12-Mac.Dxr / 00028.ls < prev    next >
Encoding:
Text File  |  1996-10-03  |  379 b   |  17 lines

  1. on exitFrame
  2.   global loadNext, whatSpeed, whatFactor, frameLoop, waitTime1
  3.   if frameLoop = 0 then
  4.     set whatSpeed to whatSpeed + waitTime1
  5.   end if
  6.   if the timer < whatSpeed then
  7.     set frameLoop to 1
  8.     go(the frame)
  9.   else
  10.     set frameLoop to 0
  11.     unLoad(1, label("Main") + 17)
  12.     preLoad(label("Open"), label("Open") + 5)
  13.     resetTimer()
  14.     go(#next)
  15.   end if
  16. end
  17.